<!--{inc(header.view.html)}-->

<div class="header">    
  
                       <div class="nav">
	                                 <ul id="nav_list">
                                                 <li><a href="#" class="nav_icon" target="mainframe">导航列表</a></li>                            
                                                 <li><a href="index.php?app=nav&act=add"  target="mainframe">新增导航</a></li>


	                                 </ul>
                       </div>
                
</div>






<div id="content">
                       <h1>列表导航栏</h1>
                       <div>
                                     <div class="tips_show"><img class="img_light" src="{$web_view_dir}style/images/light.gif" align="absmiddle" /> <b>提示: </b>
                                                            <span >管理员可以为系统定制导航菜单，显示于网站的顶部或底部。</span>
                                     </div>



                                     <table align="center" width="100%" cellpadding="4" cellspacing="0" border="0" class="table_style">
                                     <tr>
	                                       <td width="40" align="center" class="bold">排序</td>
	                                       <td class="bold">文字</td>
	                                       <td width="35%" class="bold">链接</td>
	                                       <td class="bold">目标</td>
	                                       <td class="bold">位置</td>
	                                       <td class="bold">操作</td>
                                     </tr>
                                     <?php foreach((array)$navdata as $_key => $_value ){ ?>
                                     <tr onMouseOut="this.className=''" onMouseOver="this.className='bgcolor'">
	                                       <td>
	                                           <input type="text" style="width:30px; text-align:center" maxlength="3"  value="{$_value.sort_order}" name="sort"  onchange="ato_url('index.php?app=nav&act=lsort&id={$_value.nav_id}',this);" />
	                                           
	                                       </td>
	                                       <td>{$_value.str_pad}<input type="text" value="{$_value.name}" name="title"  onchange="ato_url('index.php?app=nav&act=lname&id={$_value.nav_id}',this);"/></td>
	                                       <td><a href="{$_value.link}" target="_blank">{$_value.link}</a></td>
	                                       <td>{$_value.config.target}</td>
	                                       <td>{$_value.whree}</td>
	                                       <td>  <a href="#" id="op_{$_key}" onMouseOver="show_menu('op_{$_key}','opdiv_{$_key}','show','left')" onMouseOut="show_menu('op_{$_key}','opdiv_{$_key}','hide','left')"><img src="{$web_view_dir}style/images/menu_edit.gif" align="absmiddle" border="0" /></a>
	                                           <div id="opdiv_{$_key}" class="operate operate_common">
	                                            <a href="?app=nav&act=edit&id={$_value.nav_id}" target="mainframe">修改</a>
	                                            <a href="?app=nav&act=del&id={$_value.nav_id}" onClick="return confirm('确认删除此图片？此操作无法恢复！');">删除</a>
	                                      </td>
                                    </tr>
                                    
                                     <?php } ?>
                                     
                                    <tr>
	                                       <td align="center" colspan="5"><input type="button" class="buton" value="添加新导航" onClick="to_url('index.php?app=nav&act=add');" /> <input type="button" class="buton" value=" 更新 "  onClick="to_url('index.php?app=nav&act=cache');" /></td>

                                   </tr>
                                   </table>
                                 
                  </div>
</div>


<!--{inc(footer.view.html)}-->